package com.qn.combination.filter;

import com.qn.combination.core.context.ChargeContext;
import com.qn.combination.core.filter.AbstractEventFilter;
import com.qn.combination.vo.Car;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class JudgeCarFilter extends AbstractEventFilter<ChargeContext> {

    @Override
    protected void handle(ChargeContext context) {
        Car car = context.getCar();
        log.info("carNO:{}",car.getCarNo());
    }
}